M

DetailElementOrderUtils.BringForward

Description:
Moves the given detail instances one step closer to the front of all other detail instances in the view, while keeping the order of the given ones.
Overloads (2):
BringForward(Document,View,ICollection[ElementId])
public static void BringForward(
	Document document,
	View view,
	ICollection<ElementId> detailElementIds
)
  • document
    The document.
  • view
    The view in which the details appear.
  • ICollection<ElementId>
    detailElementIds
    The details to bring forward.
  • The document does not support detail draw order. Only projects and 3d families support draw order. 2d families and in-place families do not support draw order. -or- detailElementIds is empty or it contains elements that do not participate in detail draw ordering. Details must be visible in the view. -or- In 3d families, detail draw order can only be adjusted in views that are parallel to the document's X, Y or Z axes.
  • A non-optional argument was null